package leetcode.drawing;

import java.util.ArrayList;

public class Node {
    public int value; //值
    public int in; //入度
    public int out; //出度
    public ArrayList<Node> nexts; //该点出发的所有点（对应出度）
    public ArrayList<Edge> edges; //该店出发的所有边（对应出度）

    public Node(int val){
        value = val;
        in = 0;
        out = 0;
        nexts = new ArrayList<>();
        edges = new ArrayList<>();
    }

}
